package models

// https://gorm.io/zh_CN/docs/models.html

// AppCard 支付宝建档入卡，就诊卡,支付卡包
type AppCard struct {
	CardID       int64   `gorm:"primaryKey;autoIncrement;not null"`
	UserID       int64   `gorm:"not null; index;"`
	CardNumber   string  `gorm:"type:varchar(256); null;comment:卡号"`
	CardBarlance float64 `gorm:"not null; default:0"`

	BaseModel
}

func (AppCard) TableName() string {
	return "app_card"
}
